import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from "./router"
import pinia from "./stores";
import 'amfe-flexible';
const app = createApp(App)
app.use(router);
app.use(pinia)
app.mount('#app');
app.directive('focus', {
    // 全局自定义聚焦指令
    mounted(el) {
        el.querySelector('input').focus()
    }
})